package com.example.kekewaimaibao.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.kekewaimaibao.user.model.UserDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author: xuxiang
 * @date: 2022/3/6 22:49 星期日
 * @description:
 * @version: 1.0
 */
@SuppressWarnings("AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc")
@Mapper
public interface UserMapper extends BaseMapper<UserDO> {

    UserDO getByPhone(String phone);

    boolean updateByReset(String phone, String email, String password);
}
